using System;

namespace GURUCORE.Framework.DataAccess.ORMapping.CriteriaMapping
{
	/// <summary>
	/// Summary description for FunctionOperand.
	/// </summary>
	[Obsolete("Don't use if you want to keep your application is DBMS independence")]
	public class FunctionOperand : IOperand
	{
		private string m_sFunctionCall;
		public FunctionOperand(string p_sFunctionCall)
		{
			m_sFunctionCall = p_sFunctionCall;
		}

		#region IOperand Members

		public string ToExpressionString(IExpressionMaker p_oExpressionMaker)
		{
			return m_sFunctionCall;
		}

		#endregion
	}
}
